<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>MiniWebSvr - Home</title>
    <style>
        body { font-family: Arial, sans-serif; margin: 40px; }
        h1 { color: #333; }
        .endpoint { background: #f5f5f5; padding: 15px; margin: 10px 0; }
    </style>
</head>
<body>
<h1>Welcome to MiniWebSvr</h1>
<p>This is a simple web server built with Java Socket programming.</p>

<h2>Available Endpoints:</h2>

<div class="endpoint">
    <h3>Time Service</h3>
    <p><code>GET /time</code> - Returns current server time</p>
    <a href="/time">Get Server Time</a>
</div>

<div class="endpoint">
    <h3>Echo Service</h3>
    <p><code>GET /echo?name=value</code> - Echoes back all received parameters</p>
    <a href="/echo?name=徐宇轩&id=222024321072020">Test Echo with GET</a>
</div>
</body>
</html>